/*
 * Static.h
 *
 *  Created on: 2014. 7. 11.
 *      Author: jjaehuny
 */

#ifndef TDD_STATIC_H_
#define TDD_STATIC_H_

#include <gtest/gtest.h>

#include "GoogleProtocolBuffer/test_googleprotocolbuffer.h"

#include "curl/test_curl.h"
#include "rapidjson/test_rapidjson.h"

#include "Framework/Memory/test_framework_memory_base_pool.h"
#include "Framework/Memory/test_framework_memory_placement_new_pool.h"
#include "Framework/Memory/test_framework_memory_function_new_pool.h"
#include "Framework/Memory/test_framework_memory_lock_function_new_pool.h"

#include "Framework/Util/test_framework_util_phoenixsingleton.h"
#include "Framework/Util/test_framework_util_staticsingleton.h"
#include "Framework/Util/test_framework_util_taskprocessing.h"
#include "Framework/Util/test_framework_util_threadexecuter.h"

#include "Framework/DataStructure/test_framework_datastructure_autodeletetree.h"
#include "Framework/DataStructure/test_framework_datastructure_safearray.h"

#include "Framework/Timer/test_framework_timer.h"

#include "Framework/Database/test_framework_database_command.h"
#include "Framework/Database/test_framework_database.h"

#include "Framework/Network/test_framework_network_connection.h"

namespace TDD {

class Static {
public:
	Static();
	virtual ~Static();

	int gtest(int argc, char **argv)
	{
		::testing::InitGoogleTest(& argc, argv);
		int nRetGoogleTest = RUN_ALL_TESTS();
		LOG(INFO) << "nRetGoogleTest : " << nRetGoogleTest;

		return nRetGoogleTest;
	}
};

} /*TDD*/

#endif /* TDD_STATIC_H_ */
